package shaders;

import java.awt.Color;
import java.awt.image.BufferedImage;

import javax.vecmath.Vector3d;

import essential.Ray;

public class MatteShader extends Shader {

	@Override
	public Shader copy() {
		Shader s = new MatteShader();
		this.copyFromTo(this,s);
		return s;
	}
	
	@Override
	public Color calculateColor3d(Ray r, Vector3d sp) {
		return color;
	}



	@Override
	public Color calculateColor2d(int x, int y) {
		return new Color(textureImage.getRGB(x, y));
	}

	@Override
	public double fBump(double x, double y, double z) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Color textureColor(double x, double y) {
		// TODO Auto-generated method stub
		return null;
	}

}
